package com.future.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <P>
 *
 * </p>
 *
 * @author yinhao
 * @version 1.0
 * @since 2024/9/9 13:23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
// 二级缓存需要使用序列化技术,因此
public class Monster implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String name;
    private Integer age;
    private Date birthday;
    private Integer gender;
    private double salary;
    private String email;
}
